package com.lrs.java.j2se_self.collectionReview;

import java.util.*;
public class EnhancedFor {
	public static void main(String[] args){
		int a[] = {1,2,3,4,5};
		for(int i:a){
			System.out.println(i);
		}
		
		Collection c = new ArrayList();
		c.add(new CompanyName("z","l"));
		c.add(new Integer(100));
		c.add("my programme");
		for(Object o:c){
			System.out.println(o);
		}
	}
}
